package com.test.demo.service;

import com.test.demo.po.Question;

import java.util.List;

/**
 * Created by Cenoo on 2017/7/3.
 */
public interface QuestionService {
    public int addQuestion(Question question) throws Exception;

    public List<Question> searchQuestion(String keyword) throws Exception;

    public List<Question> searchByTag(String keyword) throws Exception;

    public List<Question> getAllQuestion() throws Exception;

    public int addReply(Integer questionId) throws Exception;
}
